<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class Role extends Model
{
    const TABLE = 'roles';
    protected $table = self::TABLE;

    protected $appends = [
        'users'
    ];

    public function user()
    {
        return $this->hasMany('App\Models\User');
    }
}
